package com.zhongli.devplatform.vo.student;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zhongli.devplatform.enums.GradeTypeEnum;
import com.zhongli.devplatform.enums.LevelEnum;
import com.zhongli.devplatform.enums.SexType;
import lombok.Data;

import java.util.List;

/**
 * @author WuXiCheng
 * @version 1.0
 * @date 2020/8/19 11:21
 */
@Data
public class CurrentStudentInfoVO {

    private Integer userId;

    private String soleId;

    private String nickName;

    private SexType sex;

    private Integer age;

    private String phone;

    private String headImgUrl;

    private String introduce;

    private String accountNum;

    private List<StudentAndParentInfoVO> parents;

    private String schoolName;

    private GradeTypeEnum gradeType;

    private String gradeName;

    private LevelEnum volumeLevel;

    private String className;

    @TableField(exist = false)
    private Integer clazzId;

    @TableField(exist = false)
    private Integer adminTeacherId;

    private String adminTeacherName;

    private String adminTeacherPhone;

    public String getIntroduce() {
        return introduce == null?"":introduce;
    }
}
